home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / Scripting-Tools / js15full.exe / Alert.ht_ / Alert.ht
Encoding:
Text File  |  1998-04-02  |  1.2 KB  |  31 lines

  1. <!--- Java Script code by Java Script It! - http://www.computan.on.ca/~todd/JavaScriptIt! --><html>
  2.  
  3. <head>
  4. <title>Alert</title>
  5. </head>
  6.  
  7. <body bgColor="#FFFFFF" text="000000">
  8.  
  9. <div align=center><font size=6 font="Arial"><b>Alert</b></font></div><p>
  10.  
  11.  
  12. Click <a href="JavaScript: alert('Type your custom message in here.')">hyperlink</a> to see an example of an alert dialogue box.<p>
  13.  
  14. <a href="JavaScript: alert('Type your custom message in here.')"><img alt="Java Script It!" src="js-iconb.gif" align=middle border=0></a> Click the image to see an example of another alert dialogue box. <p>
  15.  
  16. You can also trigger an alert dialogue box through a form button...<br>
  17. <form><input type=button value="Click Me!" onClick="alert('Type your custom message in here.')"></form><p>
  18.  
  19. <b>Browser Compatibility</b><br>
  20. ò Works fully in Netscape Navigator 2.01 and higher<br>
  21. ò Works fully in Microsoft Internet Explorer 3.0 and higher<br>
  22. ò Old browsers may display the button as text because they do not understand form buttons (that is if you choose to make a button)<br>
  23. ò Old browsers will also display a URL not found dialogue box when hyperlink hyperlink is clicked
  24.  
  25. </body>
  26.  
  27.  
  28. </html>
  29.  
  30.  
  31.